package two.chapter_1.c1_3;

public interface List<Item> extends Collection<Item> {
    void add(Item item);
    boolean removeLast();
    void removeAfter(Item item);
    void removeAll(Item item);
    void insertAfter(Item before,Item after);
    boolean delete(int k);
    boolean contains(Item key);

    /**
     * 反转列表
     */
    void reverse();
}
